<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" id="vp" content="width=device-width, initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<title>贝达教育</title>
		<link href="../../../css/style.css" rel="stylesheet" type="text/css" />
		<link href="../../../css/mui.min.css" rel="stylesheet" type="text/css" /> 
		<style>
			#takeaddress {
				font-size: 14px;
				background: #fff;
				padding-top: 20px;
			}
			
			.addaddress {
				margin-right: 0.3rem;
				font-size: 14px;
			}
			
			.takeaddresslist li {
				padding: 0.3rem 0.1rem;
				position: relative;
				border: solid 1px #dfdfdf;
				border-radius: 10px;
				margin: 0 20px;
				margin-bottom: 10px;
				background: #f1f1f1;
			}
			
			.takename {
				padding-right: 0.2rem;
			}
			
			.taketel {
				font-size: 12px;
				color: #939393;
			}
			
			.takeaddresscontent {
				font-size: 12px;
				width: 90%;
				display: inline-block;
				padding-top: 5px;
			}
			
			.editor {
				position: absolute;
				right: 0.2rem;
				top: 35%;
				font-size: 12px;
				color: #939393;
			}
			
			.editor span {
				font-size: 20px;
				color: #efefef;
				padding-right: 0.2rem;
			}
			
			.moren {
				font-size: 10px;
				background: #fff0ec;
				color: #e75b00;
				padding: 2px;
			}
			
			.orderimg {
				width: 1.5rem;
				height: 1.5rem;
				margin-right: 0.2rem;
				border-radius: 10px;
			}
			
			.status {
				color: #939393;
				font-size: 12px;
				position: absolute;
				left: 2rem;
				bottom: 0.5rem;
			}
			
			.statuswu {
				color: #939393;
				font-size: 12px;
				position: absolute;
				right: 5px;
				bottom: 0.5rem;
			}
			
			.title {
				line-height: 15px;
				text-overflow: -o-ellipsis-lastline;
				overflow: hidden;
				text-overflow: ellipsis;
				display: -webkit-box;
				-webkit-line-clamp: 2;
				line-clamp: 2;
				-webkit-box-orient: vertical;
				line-height: 15px;
				font-size: 12px;
			}
			
			.mui-icon-back:before,
			.mui-icon-left-nav:before {
				display: none;
			}
			
			.heand_con {
				padding: 0;
				width: 80%;
			}
			
			.check {
				position: absolute;
				bottom: 0.1rem;
				float: right;
				right: 5px;
				color: #939393;
			}
		</style>
	</head>

	<body>
		
		<script src="../../../js/mui.min.js"></script>
		<script src="../../../js/app.js"></script>
		<script src="../../../js/vue.min.js"></script>
		<script src="../../../js/token.js"></script>
		<script>
			mui.init({ 
				gestureConfig: {
					doubletap: true,
				},
				subpages: [{
					url: 'orderlistrefresh.html',
					id: 'orderlistrefresh',
					styles: {
						top: '41px',
						bottom: 0
					},
					
				}]
			});
			
			var backButtonPress = 0;
			mui.back = function(event) {
				var ws = plus.webview.currentWebview()
				mishuWebview = plus.webview.getWebviewById('kuaidi100');
				
				if(mishuWebview) {
					mishuWebview.close();
				} else if(ws) {
					ws.close();
				} else {
					backButtonPress++;
					if(backButtonPress > 1) {
						plus.runtime.quit();
					} else {
						plus.nativeUI.toast('再按一次退出应用');
					}
					setTimeout(function() {
						backButtonPress = 0;
					}, 1000);  
					return false;
				}
				//获取当前页面
				var cPage = plus.webview.currentWebview();
				//获取上一级页面（B页面）
				var bPage = cPage.opener();
				//alert(bPage.id+'================='+cPage.id)
				if(bPage.id != 'pcenter') {  
					bPage.close(); 
					cPage.close()
				}
			};
			window.addEventListener('refreshaddress', function(event) {
				mui.post(Apiurl + 'shop/addresslist', {
					uid: uid,
					memberToken: memberToken,
				}, function(data) {
					//console.log(JSON.stringify(data)) 
					takeaddress.address = data.list
				}, 'json');
			});
			
		</script>
	</body>

</html>